package com.itdct.onflow.system.common.task

import cn.hutool.extra.spring.SpringUtil
import com.itdct.onflow.system.common.manager.CleanExpireLogManager
import com.itdct.onflow.system.task.base.BaseTask
import com.itdct.onflow.system.task.entity.SysTaskEntity

/**
 * @author Zhouwx
 * @date 2025/9/23 18:32:04
 * @version 1.0
 * @description
 */
class CleanExpireLogTask : BaseTask() {
    override fun execute(sysTaskEntity: SysTaskEntity) {
        val cleanExpireLogManager = SpringUtil.getBean(CleanExpireLogManager::class.java)
        cleanExpireLogManager.cleanExpireLog()
    }
}